package day05;
//break的演示
public class BreakDemo {
    public static void main(String[] args) {

        for (int num=1;num<=9;num++){
            if(num==4){
                break;
            }
            System.out.println(num+"*9="+num*9);
        }

        for (int num=9;num>=1;num--){
            if (num==3){
                break;
            }
            System.out.println(num+"*9="+num*9);
        }
    }
}
